翻訳と辞書
Words near each other
・ Monarc Entertainment
・ Monarcas Morelia
・ Monarcas Zacapu
・ Monarch
・ Monarch (American band)
・ Monarch (automobile)
・ Monarch (band)
・ Monarch (comics)
・ Monarch (Delerium song)
・ Monarch (disambiguation)
・ Monad (linear algebra)
・ Monad (music)
・ Monad (non-standard analysis)
・ Monad (philosophy)
・ Monad Public School
Monad transformer
・ Monad University
・ Monade
・ Monadenia
・ Monadenia fidelis
・ Monadeniidae
・ Monadh Mòr
・ Monadhliath Mountains
・ Monadic
・ Monadic Boolean algebra
・ Monadic plane
・ Monadic predicate calculus
・ Monadikes Erminies
・ Monadnock (ACM-14)
・ Monadnock (disambiguation)


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Monad transformer : ウィキペディア英語版
Monad transformer
In functional programming, a monad transformer is a type constructor which takes a monad as an argument and returns a monad as a result.
Monad transformers can be used to compose features encapsulated by monads – such as state, exception handling, and I/O – in a modular way. Typically, a monad transformer is created by generalising an existing monad; applying the resulting monad transformer to the identity monad yields a monad which is equivalent to the original monad (ignoring any necessary boxing and unboxing).
==Definition==
A monad transformer consists of:
# A type constructor t of kind (
* ->
*) ->
* ->
*

# Monad operations return and bind (or an equivalent formulation) for all t m where m is a monad, satisfying the monad laws
# An additional operation, lift :: m a -> t m a, satisfying the following laws:〔
〕 (the notation `bind` below indicates infix application):
## lift . return = return
## lift (m `bind` k) = (lift m) `bind` (lift . k)

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Monad transformer」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.